CXXFLAGS =	-O2 -g -Wall -fmessage-length=0

OBJS =		OpenGL_Work3.o

LIBS = -lopengl32 -lglu32 -lglut32 -lgdi32 -lglaux

TARGET =	OpenGL_Work3.exe

DE = -D_STDCALL_SUPPORTED -D_M_IX86 -DGLUT_DISABLE_ATEXIT_HACK
$(TARGET):	$(OBJS)
	$(CXX) -o $(TARGET) $(OBJS) $(LIBS) $(DE)
OpenGL_Work3.o : LoadBmp.h debug.h key.h object.h  SolarSystem.h firesystem.h planet.h  particle.h 
all:	$(TARGET)

clean:
	rm -f $(OBJS) $(TARGET)